<extend name="Public/base" />
<block name="body">
	<!--PageContent-->
    <div class="container">
        <div class="row">

            <div class="col-md-8">

<div class="panel panel-default">
    <div class="panel-body">

<foreach name="competitionAll" item="competition">

<div class="row">
  <div class="col-md-12">
    <div class="thumbnail">

      <img src="__ROOT__{$competition.pic}" alt="...">
      <div class="caption">
        <h3>{$competition.title}<small>{$competition.time|date='Y-m-d',###}</small></h3>
        <p>{$competition.description}<p>
            <a href="" class="btn btn-default btn-sm">竞赛通知下载</a>
            <a href="" class="btn btn-default btn-sm">报名回执下载</a>
            <a href="" class="btn btn-default btn-sm">比赛规则下载</a>
        </p>
        <p><a href="{:U('Article/index', array('id'=>$competition['id']))}" class="btn btn-primary" role="button">查看详情...</a></p>
      </div>

    </div>
  </div>
</div>

</foreach>

<nav>
  <ul class="pager">
    <li><a href="#">前一页</a></li>
    <li><a href="#">后一页</a></li>
  </ul>
</nav>

    </div>
</div>

            </div>  

            <div class="col-md-4">

<include file='Public/sidebar_r'/>

            </div>  

        </div>
    </div> 
    
</block>

<block name="script">
</block>